package com.tanhua.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//用户喜欢的语音记录
@Data
@Document(collection = "like_voice_record")
public class LikeVoiceRecord implements Serializable {
    private ObjectId id;//记录id
    @Indexed
    private String userId;//用户Id
    private ObjectId voiceId;//语音id
    private String isLike;//是否喜欢
}
